/**
 * Created by Administrator on 2017/3/17.
 */
const componentTents = resolve => require(['views/client/component_test'], resolve)
// 饿了么网页
const home = resolve => require(['views/client/home'], resolve)
const city = resolve => require(['views/client/city'], resolve)

//路径统一配置前缀client name无前缀
export default [
  //地址为空时跳转home页面
  {
    path: '',
    redirect: '/home'
  },
  //首页城市列表页
  {
    path: '/home',
    name:'home',
    meta:{pageTitle:'首页'},
    component:home
  },
  //当前选择城市页
  {
    path: '/city/:cityId',
    name:'city',
    meta:{pageTitle:'地区选择'},
    component:city
  },
  {
    path: '/componentTents',
    name:'componentTents',
    meta:{pageTitle:'组件测试页'},
    component:componentTents
  },
]







